package com.tang.common.entity.deliver;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tang.common.entity.companyJob.Job;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 唐朝阳
 * @since 2022-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Deliver implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 投递id
     */
    @TableId(value = "deliver_id", type = IdType.AUTO)
    private Integer deliverId;

    /**
     * 投递职位id
     */
    private Integer jobId;

    /**
     * 投递简历id
     */
    private Integer resumeId;

    /**
     * 投递用户id
     */
    private Integer userId;

    /**
     * 投递公司id
     */
    private Integer companyId;
    private String applyCity;
    private String applyWay;

    /**
     * 投递状态，0是为审核，1是审核通过，2是笔试，3是面试
     */
    private Integer state;

    /**
     * 删除标志，1为存在，0为删除
     */
    private Integer deleteFlag;
    @TableField("create_time")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @TableField("update_time")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String jobName;

    private String resumeName;

    private String companyName;

    private String userName;
    @TableField(exist = false)
    private Job job;


}
